package com.wxapp.common.core.annotation;

import java.lang.annotation.*;

/**
 * @author lgl
 * @Description 接口防刷
 * @Datetime 2023/6/29 9:41
 * @Modified By
 */
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Target({ElementType.METHOD})
public @interface AccessLimit {
    String name() default "";

    int seconds() default 1;

    int maxCount() default 5;

    boolean isLogin() default true;
}
